package com.yuyou.fn.educational.vo;

import java.math.BigDecimal;

/**
 * Created by Terry on 2017/3/22.
 */
public class ClassHistoryListVo {

    //开始讲数
    private Integer startAmount;
    //结束讲数
    private Integer endAmount;
    //班级名称
    private String className;
    //班级编号
    private Long classId;
    //课程名称
    private String subjectName;
    //老师名字
    private String teacherName;
    //教室名称
    private String roomName;
    //期数
    private String periodName;
    //开课时间
    private String startCourseTime;
    //已经结束讲数
    private Integer courseProgress;
    //校区名称
    private String campusName;
    //已缴金额
    private BigDecimal paidAmount;
    //退款金额
    private BigDecimal amount;
    //状态    0：在读 1：转班 2：退账户 3：退班退费
    private String status;
    //原价
    private BigDecimal totalAmount;

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public void setStatus(Integer regStatus) {
        if(regStatus.equals(0)) {
            status = "在读";
        }else if(regStatus.equals(1)) {
            status = "转班";
        }else if(regStatus.equals(2)) {
            status = "退账户";
        } else if(regStatus.equals(3)) {
            status = "退班退费";
        }
    }

    public String getStatus() {
        return status;
    }

    public Integer getStartAmount() {
        return startAmount;
    }

    public void setStartAmount(Integer startAmount) {
        this.startAmount = startAmount;
    }

    public Integer getEndAmount() {
        return endAmount;
    }

    public void setEndAmount(Integer endAmount) {
        this.endAmount = endAmount;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }


    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getPeriodName() {
        return periodName;
    }

    public void setPeriodName(String periodName) {
        this.periodName = periodName;
    }

    public String getStartCourseTime() {
        return startCourseTime;
    }

    public void setStartCourseTime(String startCourseTime) {
        this.startCourseTime = startCourseTime;
    }

    public Integer getCourseProgress() {
        return courseProgress;
    }

    public void setCourseProgress(Integer courseProgress) {
        this.courseProgress = courseProgress;
    }

    public String getCampusName() {
        return campusName;
    }

    public void setCampusName(String campusName) {
        this.campusName = campusName;
    }

    public BigDecimal getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(BigDecimal paidAmount) {
        this.paidAmount = paidAmount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "ClassHistoryListVo{" +
                "startAmount=" + startAmount +
                ", endAmount=" + endAmount +
                ", className='" + className + '\'' +
                ", classId=" + classId +
                ", subjectName='" + subjectName + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", roomName='" + roomName + '\'' +
                ", periodName='" + periodName + '\'' +
                ", startCourseTime=" + startCourseTime +
                ", courseProgress=" + courseProgress +
                ", campusName='" + campusName + '\'' +
                ", paidAmount=" + paidAmount +
                ", amount=" + amount +
                '}';
    }
}
